﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Login.ascx.cs" Inherits="Application_Controls_Utils_Login" %>
<table>
	<tr>
		<th class="CategoryHeadCenter" colspan="2">
			<asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Resource,  Login %>"></asp:Literal>
		</th>
	</tr>
	<tr>
		<td><asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Resource,  Email %>"></asp:Literal>:</td>
		<td>
			<asp:TextBox runat="server" ID="TextBoxLoginUserNameEmail" ValidationGroup="Login"></asp:TextBox>
			<asp:RequiredFieldValidator runat="server" ValidationGroup="Login" ControlToValidate="TextBoxLoginUserNameEmail" ID="RequiredFieldValidator2" ErrorMessage='<%$ Resources:Resource,  Email %>' Display="Dynamic">*</asp:RequiredFieldValidator>
			<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ValidationGroup="Login"
				ControlToValidate="TextBoxLoginUserNameEmail"
				ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
				ErrorMessage='<%$ Resources:Resource,  Email %>'
				display="dynamic">*
			</asp:RegularExpressionValidator>
		</td>
	</tr>
	<tr>
		<td><asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Resource,  Password %>"></asp:Literal>:</td>
		<td>
			<asp:TextBox runat="server" ID="TextBoxLoginPassword" TextMode="Password" ValidationGroup="Login" style="width:140px;"></asp:TextBox>
			<asp:RequiredFieldValidator ID="RequiredFieldValidator3" ValidationGroup="Login" ControlToValidate="TextBoxLoginPassword" ErrorMessage='<%$ Resources:Resource, Password %>' Display="Dynamic" runat="server">*</asp:RequiredFieldValidator>
		</td>
	</tr>
	<tr><td colspan="2" style="text-align:center;"><asp:Label runat="server" ID="LabelLoginMessage" ForeColor="Red"></asp:Label></td></tr>
	<tr>
		<td colspan="2" style="text-align:right;"><asp:Button runat="server" ID="ButtonLogIn" Text="<%$ Resources:Resource,  Login %>" ValidationGroup="Login" OnClick="ButtonLogin_Click" /></td>
	</tr>
</table>
<asp:ValidationSummary runat="server" ID="vSumLogin" ValidationGroup="Login" HeaderText="<%$ Resources:Resource,  CheckoutLoginError %>" ShowMessageBox="true" ShowSummary="false" />
